home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
programs
/
stfax
/
install
< prev
next >
Wrap
Text File
|
1996-12-23
|
2KB
|
132 lines
; $VER: STFax-Install 1.0 (27.11.96)
(complete 0)
(set InstallDir
(askdir
(prompt "Where do you want to install STFax?"
" (a drawer called 'STFax' will be created there)")
(help @askdir-help)
(default "Work:")
)
)
(Set DestDir
(tackon InstallDir "STFax")
)
(Set FaxInDir
(tackon DestDir "Fax_In")
)
(Set FaxOutDir
(tackon DestDir "Fax_Out")
)
(Set ConfigDir
(tackon DestDir "Config")
)
(Set LocaleDir
(tackon DestDir "Catalogs")
)
(set @default-dest
DestDir
)
(makedir
DestDir
(infos)
)
(complete 10)
(if (<= (/ (getversion) 65536) 38)
(set Kick2 1)
(set Kick2 0)
)
(copyfiles
(source "")
(dest DestDir)
(pattern "~(KeyFile|Install|Catalogs|Devs)#?")
(infos)
(noposition)
)
(complete 30)
(copyfiles
(source "Devs/Printers/STFaxPrt")
(dest "DEVS:Printers")
)
(complete 40)
(if (exists "STFax.key")
(copyfiles
(source "STFax.key")
(dest DestDir)
)
)
(if Kick2
(tooltype
(dest (tackon DestDir "STFax.guide"))
(setdefaulttool "AmigaGuide")
)
)
(complete 50)
(makedir
LocaleDir
(infos)
)
(copyfiles
(source "Catalogs")
(dest LocaleDir)
(pattern "IEditor#?.c#?")
)
(complete 60)
(makedir
FaxInDir
(infos)
)
(makedir
FaxOutDir
(infos)
)
(makedir
ConfigDir
)
(complete 85)
(startup "STFax"
(prompt "Editing your S:User-Startup")
(help "The Installer will add some assigns needed by STFax")
(command (cat " Assign STFax: \"" DestDir "\" >NIL:"))
)
(makeassign "STFax:" DestDir)
(complete 90)
(copyfiles
(prompt "Copying catalog files")
(help @copyfiles-help)
(source "Catalogs")
(dest LocaleDir)
(confirm)
(choices "italiano")
)
(complete 100)